package com.ruoyi.system.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.system.domain.zbg.AnnualCostData;
import com.ruoyi.system.domain.zbg.WorkOrder;
import com.ruoyi.system.mapper.AnnualCostDataMapper;
import com.ruoyi.system.mapper.WorkOrderMapper;
import com.ruoyi.system.service.AnnualCostDataService;
import com.ruoyi.system.service.WorkOrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
@Service
public class WorkOrderServiceImpl  extends ServiceImpl<WorkOrderMapper, WorkOrder>  implements WorkOrderService  {
    @Autowired
    private WorkOrderMapper workOrderMapper;
    @Override
    @Transactional
    public void createWorkOrder(WorkOrder workOrder) {
        workOrderMapper.insert(workOrder);

    }
}
